#ifndef _TSL_1401_H
#define _TSL_1401_H
#ifdef __cplusplus
extern "C" {
#endif
#include "stm32f10x.h"

//extern uint16_t pixel[128];
//void  TSL1401_GPIO_Init(void);
void  TSL1401_Adc_Init(void);
uint16_t TSL1401_Get_Adc(uint8_t ch);
void TSL1401_1_GetLine(uint16_t *pixel);
void TSL1401_2_GetLine(uint16_t *pixel);
void TSL1401_2_Binarization(uint16_t *Pixel);
uint8_t Line(uint16_t *Pixel);
#ifdef __cplusplus
}
#endif
#endif
